<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="utf-8">
  <title>Recuperacion de contraseña</title>
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <meta name="description" content="">
  <meta name="author" content="">

	<!--link rel="stylesheet/less" href="less/bootstrap.less" type="text/css" /-->
	<!--link rel="stylesheet/less" href="less/responsive.less" type="text/css" /-->
	<!--script src="js/less-1.3.3.min.js"></script-->
	<!--append ‘#!watch’ to the browser URL, then refresh the page. -->
	
	<link href="../bootstrap/css/bootstrap.min.css" rel="stylesheet">
	<link href="../bootstrap/css/style.css" rel="stylesheet">

  <!-- HTML5 shim, for IE6-8 support of HTML5 elements -->
  <!--[if lt IE 9]>
    <script src="js/html5shiv.js"></script>
  <![endif]-->

  <!-- Fav and touch icons -->
  <link rel="apple-touch-icon-precomposed" sizes="144x144" href="../bootstrap/img/apple-touch-icon-144-precomposed.png">
  <link rel="apple-touch-icon-precomposed" sizes="114x114" href="../bootstrap/img/apple-touch-icon-114-precomposed.png">
  <link rel="apple-touch-icon-precomposed" sizes="72x72" href="../bootstrap/img/apple-touch-icon-72-precomposed.png">
  <link rel="apple-touch-icon-precomposed" href="../bootstrap/img/apple-touch-icon-57-precomposed.png">
  <link rel="shortcut icon" href="../bootstrap/img/Limasys2.1.png">
  
	<script type="text/javascript" src="../bootstrap/js/jquery.min.js"></script>
	<script type="text/javascript" src="../bootstrap/js/bootstrap.min.js"></script>
	<script type="text/javascript" src="../bootstrap/js/scripts.js"></script>
</head>

<body>
<div class="container">
	<div class="row clearfix">
		<div class="col-md-12 column ">
			<nav class="navbar navbar-default" role="navigation"><!-- navbar-default acomoda el menu  //navbar-inverse navbar-fixed-top//-->
				<div class="navbar-header">
					 <button type="button" class="navbar-toggle" data-toggle="collapse" data-target="#bs-example-navbar-collapse-1"> <span class="sr-only">Toggle navigation</span><span class="icon-bar"></span><span class="icon-bar"></span><span class="icon-bar"></span></button> <a class="navbar-brand" href="#">
					 	 <a class="navbar-brand" href="index.html">
                         <img src="../bootstrap/img/logo.png" alt="" />
                        </a>

					 </a>
				</div>
				
				<div class="collapse navbar-collapse " id="bs-example-navbar-collapse-1">
					
					</ul>
					<!--<form class="navbar-form navbar-left" role="search">
						<div class="form-group">
							<input type="text" class="form-control">
						</div> <button type="submit" class="btn btn-default">Submit</button>
					</form>-->
					<ul class="nav navbar-nav navbar-right">
						
						<li class="dropdown">
							 <a href="#" class="dropdown-toggle" data-toggle="dropdown">Ayuda <strong class="glyphicon glyphicon-question-sign"></strong></a>
							<ul class="dropdown-menu dropdown-user">
								<li>
									<a href="#">Acerca d</a>
								</li>
								<li>
									<a href="#">Reseña</a>
								</li>
								
								<li class="divider">
								</li>
								<li>
									<a href="../login/login.html">Iniciar Sesión</a>
								</li>
							</ul>
						</li>
					</ul>
				</div>
				
			</nav>
			<hr>
			<div class="jumbotron">
      <?php 
       include('../Tabla/conn/conn.php');
       require('../tabla/funciones/conexiones.php');
       $IdAdmin = $_GET['id']; 
       $result = mysql_query("SELECT `LS00IDADM`,`LS01NB`,`LS02AP1`,`LS03AP2` FROM ls_01_administrador WHERE LS00IDADM ='$IdAdmin'") or trigger_error(mysql_error());
       
       ?>
				<h3>
					Hola!!!</h3>
          <?php
          if($row = mysql_fetch_array($result)){
          $id= $row["LS00IDADM"];
          echo "<td valign='top'>". nl2br( $row['LS01NB']) .  "</td>"." ";
          echo "<td valign='top'>". nl2br( $row['LS02AP1']) .  "</td>"." ";
          echo "<td valign='top'>". nl2br( $row['LS03AP2']) .  "</td>"." ";
        }
           ?>
        <h3>
           Por favor Cambie su Contraseña.
				</h3>

				
				<div class="row">
            <div class="col-md-4 col-md-offset-4 text-center logo-margin ">
              <img src="../bootstrap/img/logo.png" alt=""/>
                </div>
            <div class="col-md-4 col-md-offset-4">
                <div class="login-panel panel panel-default">                  
                    <div class="panel-heading">
                        <h3 class="panel-title">Por favor Ingrese su contraseña nueva </h3>
                    </div>
                    <div class="panel-body">
                    <h4>Nueva Contraseña: </h4>
                        <form role="form" action="contra.php" method="post">
                            <fieldset>
                                <div class="form-group">
                                <input type="hidden" name="id" value="<?php echo $id;?>">
                               <input onPaste = "return false;" title="Se necesita una contraseña" placeholder="Ingrese su Nueva Contraseña" autocomplete="off" class="form-control" type="password" name="contrasena"id="inp_contrasena" required>
                                </div>
                                <div class="form-group">
                                <h4> Repita la Nueva Contraseña: </h4>
                                    <input onPaste = "return false;" title="Se necesita una contraseña Igual a la que ingreso" placeholder="Ingrese de nuevo su Nueva Contraseña" autocomplete="off" class="form-control" type="password" name="contrasena1"id="inp_contrasena" required>
                                </div>
                                <!-- Change this to a button or input when using this as a form -->
                                <button type="submit" class="btn btn-lg btn-primary btn-block" value="entrar">Enviar</button>
                                
                            </fieldset>

                        </form>
                    </div>
                </div>
            </div>
        </div>
			</div>
		</div>
	</div>
	
</div>
</div>

<div class="footer_btm"><!-- start footer_btm -->
  <div class="container">
    <div class="navbar navbar-default">

      
                <a class="navbar-brand" >
                    <img class="img-rounded" align="left" src="../bootstrap/img/barrainferios/limasys.png" alt="" />
                </a>
                <a class="navbar-brand" align="left">
                    <img <img class="img-rounded" align="left" src="../bootstrap/img/barrainferios/ctp.png" alt="" />
                </a>

               <a class="navbar-brand" align="left">
                    <img <img class="img-rounded" align="left" src="../bootstrap/img/barrainferios/una.png" alt="" />
                </a>
                

        <p class=""><span>&#169; Reservado todo los Derechos|2014| Diseñado por&nbsp;<a href="http://LYMASYS/"> Javier Villarreal y Josue Morales</a></span></p>
    </div>
  </div>
</div>
</body>
</html>